<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>


<!--头部线-->
		<div id="top"></div>
		
		<!--头部标题-->
		<div id="head">
			 <!--左边logo-->
			<div class="head_left">
				<img src="${serverPath}/userImg/${adver0.newFileName}" style="height :60px;width: 160px;" />
			</div>
			<!--中间图片-->
			<div class="head_center">
			  <img src="${serverPath}/userImg/${adver1.newFileName}" style="height :80px;width: 700px;" />
			</div>
			 <!--右边登录 注册-->
			<div class="head_right">
				<c:if test="${member.mobile == null}">
                	<a href="${path}/frontCtl/toLogin">登录</a>	&nbsp;&nbsp;&nbsp;	
                	<a href="${path}/frontCtl/toRegister">注册</a>
                </c:if>
					<c:if test="${member.newFileName!=null}">
					  <a href="">
					     <img alt="" src="${serverPath}/memberImg/${member.newFileName}" style="width: 40px;height: 40px; border-radius: 20px;  class="layui-nav-img">
					  </a>
					</c:if>
                <c:if test="${member.mobile != null}">
					         <a href="${path}/memberCtl/toMemberCenter""> ${member.nickName}</a>&nbsp;&nbsp;&nbsp;	
					        <a href="javascript:;" id="logOutBtn">安全退出</a>	  
                </c:if>
			</div>
		</div>
		
		 <!--导航条-->
		    <table class="navId" cellpadding="0" cellspacing="0" >
			  <tr>
			      <td class="dh">
			      	<a href="${path}/frontCtl/toIndex">首页</a>
			      </td>
				  <c:forEach items="${typeList}" var="type">
			      <td class="dh">
			        <a href="${path}/frontCtl/toList?typeId=${type.id}&typeName=${type.name}" target="_blank">${type.name}</a>
			      </td>
			      </c:forEach>
			  </tr>
		   </table>


          <!--广告位-->
          <div style="margin: 0 auto; width: 1200px; margin-top: 10px;">
          	<img  src="${serverPath}/userImg/${adver2.newFileName}" style="height :80px;width:1200px;" />
          </div>
